This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Fix weights on hard-coded XCM fragments#4144
Merged
Conversation
KiChjang
approved these changes
Oct 25, 2021
Contributor
KiChjang
left a comment
There was a problem hiding this comment.
For now I think this is okay, but I do think some kind of holistic approach in solving the weight fee payment problem is needed.
An idea that I just came up with is to have something similar to version negotiation, we can have a storage item that stores the fee schedule for known parachains, and perhaps we could also have a new XCM instruction that specifically asks for this sort of data.
Member
Author
|
The main problem with that is that the fee schedule may be non-linear; for now it would work, and perhaps that's good enough. Another possibility is to have the UI discover and include the destination weight through an exported WASM of the |
KiChjang
pushed a commit
that referenced
this pull request
Oct 27, 2021
* Fix weights on hard-coded XCM fragments * Formatting
joepetrowski
pushed a commit
that referenced
this pull request
Oct 27, 2021
ordian
added a commit
that referenced
this pull request
Oct 27, 2021
* master: (73 commits) Fix XCM Teleport Benchmark (#4146) Allow Queries and Subscriptions (#4150) Fix weights on hard-coded XCM fragments (#4144) Bump spec versions (#4142) Bump libc from 0.2.104 to 0.2.105 (#4141) Enable bags-list pallet in polkadot (#4080) Move artifacts states into memory in PVF validation host (#3907) Introduce new Runtime API endpoint for fetching the validation data (#3728) export xcm_pallet config (#4116) Apply cargo fmt (#4122) remove logging from the check-dependent-* job (#4120) Remove stale migrations (#4107) Bump structopt from 0.3.23 to 0.3.25 (#4098) remove hardcoded pipeline scripts tag (#4109) Bump libc from 0.2.103 to 0.2.104 (#4099) some spelling fixes (#4088) polkadot: remove call filters on registrar pallets (#4093) Fix typos in docs (#4092) Rename Statemint where appropriate (#4087) bump substrate (#4091) ...
emostov
pushed a commit
that referenced
this pull request
Nov 1, 2021
* Fix weights on hard-coded XCM fragments * Formatting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix for weights. Also adds dispatch variants for providing weight manually.
cc @shawntabrizi @KiChjang